import request from '/@/utils/request'


export function chatApi(){
    return {
        getList: (params?: object) => {
			return request({
				url: '/system/sysUser/getChatService',
				method: 'post',
				data: params,
			})
		},
        getNotChat: (params?:object) => {
			return request({
				url: '/system/sysUser/getNotChat',
				method: 'get',
				params
			})
		},
		createChat: (params?: object) => {
			return request({
				url: '/system/sysUser/createChat',
				method: 'post',
				data: params,
			})
		},
		removeBath: (params?: object) => {
			return request({
				url: '/system/sysUser/removeBath',
				method: 'post',
				data: params,
			})
		},
    }
}